package com.norteksoft.erm.model;

import java.util.HashSet;
import java.util.Set;
import org.apache.commons.lang.builder.HashCodeBuilder;

/**
 * 资源捆绑
 * 
 * @author Jiffy
 * 
 */
public class ResourceSuite extends BaseObject {

	private static final long serialVersionUID = 6268480726740551859L;

	private Long OID = new Long(-1);// OID

	private String name;

	private String code;

	private Set myFunctions = new HashSet();

	private Set myDataFilters = new HashSet();

	public int hashCode() {
		return new HashCodeBuilder().append(OID).append(name).append(code)
				.toHashCode();
	}

	public Long getOID() {
		return OID;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public void setOID(Long oid) {
		OID = oid;
	}

	public Set getMyDataFilters() {
		return myDataFilters;
	}

	public void setMyDataFilters(Set myDataFilters) {
		this.myDataFilters = myDataFilters;
	}

	public Set getMyFunctions() {
		return myFunctions;
	}

	public void setMyFunctions(Set myFunctions) {
		this.myFunctions = myFunctions;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}
}
